<v-modal class="vModal--default" onclose="closeuser()">
<div class="knowledgewjsxkk knowledgewjlsbb"  ng-controller="addAttributecontroller"> 
<div class="knowledgewjsxkkwjsxck" >
	<div class="knowledgewjsxkkmain">
	<div class="knowledgewjsxkktitle">
		文件属性<div class="knowledgewjsxkktitleright"  ng-click="upAttribute()"><svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>保存</div><div class="close" ng-click="closeuser()" ><span>+</span></div>
	</div>
	<div class="knowledgewjsxkkbody">
        <div class="knowledgewjsxkkbodyfirst">
			<div class="knowledgewjsxkk_sltimg"><img ng-src="/images/fileicon/{{fileifno.fileType}}_56.png" src="/images/fileicon/qita_56.png"
                                        onerror="javascript:this.src='/images/fileicon/qita_56.png'" class="knowledgeliebiaofengmian_img"></div>
			<input class="knowledgewjsxkkname" ng-model="fileifno.fileName" />
		</div> 
        <div class="knowledgewjsxkkbiaoqian">
			<div class="knowledgewjsxkkbiaoqian_label"><label>标签：</label></div>
            <drop-down-up-lable  tag-obj="extend" ></drop-down-up-lable>
			<div class="knowledgewjsxkkbiaoqianbody" ng-if="false">
			<div class="knowledgewjsxkkbiaoqianmain">
			<div class="knowledgewjsxkkbiaoqiannr"><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname"> 红色</div><div class="close"><span>+</span></div></div>
			<div class="knowledgewjsxkkbiaoqiannr"><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname"> 红色</div><div class="close"><span>+</span></div></div>
			<div class="knowledgewjsxkkbiaoqiannr"><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname"> 红色</div><div class="close"><span>+</span></div></div>
			<div class="knowledgewjsxkkbiaoqiannr"><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname"> 红色</div><div class="close"><span>+</span></div></div>
			<div class="knowledgewjsxkkbiaoqiannr"><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname"> 红色</div><div class="close"><span>+</span></div></div>
			</div>
			<div class="knowledgewjsxkkbiaoqianadd">点击添加标签
				<ul class="dropdown-menu" ng-if="true">
					<li><div class="biaoqianyuan" style="background-color:#f65c55;border-color:#e74840"></div><div class="biaoqianname">红色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#e74840;border-color:#c77912"></div><div class="biaoqianname">橙色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#ecc531;border-color:#dcb317"></div><div class="biaoqianname">黄色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#67c248;border-color:#4db629"></div><div class="biaoqianname">绿色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#42b0ec;border-color:#168ccc"></div><div class="biaoqianname">蓝色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#c981d9;border-color:#a942c0"></div><div class="biaoqianname">紫色</div></li>
					<li><div class="biaoqianyuan" style="background-color:#9d9c9f;border-color:#8b8b8b"></div><div class="biaoqianname">灰色</div></li>
				</ul>
			</div>
			</div>
		</div>		
		<div class="knowledgewjsxkkwjsx">
			<div class="knowledgewjsxkkwjsxtitle"><label>文件属性</label></div>
			<ul class="knowledgewjsxkkwjsxbody">
				<li><label>文件类型：</label>{{fileifno.fileType=='folder' ? '文件夹' : fileifno.fileType }}</li>
				<li><label>创建人：</label>{{fileifno.upUserName}}</li>
				<li ng-if="fileifno.fileType !='folder'"><label>文件大小：</label>{{fileifno.fileSize | to_size}}</li>
				<li><label>创建时间：</label>{{fileifno.uploadTime}}</li>
				<li><label>修改时间：</label>{{fileifno.updatetime}}</li>                
                
				<li ng-if="fileifno.Shares==0"><label>文件位置：</label><span ng-repeat="ckbinfo in filepath1" >/{{ckbinfo.fileName}}</span>/{{fileifno.fileName}}</li>
				<li ng-if="fileifno.fileType !='folder'"><label>浏览数：</label>0</li>
				<li ng-if="fileifno.fileType !='folder'"><label>下载数：</label>{{fileifno.frequency}}</li>
			</ul>
		</div>
		<div class="knowledgewjsxkkqxsz">
			<div class="knowledgewjsxkkqxsztitle"><label>权限设置</label></div>
			<div class="knowledgewjsxkkqxszbody">
            <ul>
				<li><div class="knowledgewjsxkkqxsz_check"></div><div class="knowledgewjsxkkqxszcyhq">用户群</div><div class="knowledgewjsxkkqxszcqx">权限</div></li>				

                <!--组织机构-->
                <li ng-repeat="orginfo in orglist" ><div class="knowledgewjsxkkqxsz_check"></div><div class="knowledgewjsxkkqxszcyhq"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-zuzhijiagou"></use></svg>{{orginfo.organization_Name}}</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(orginfo,1)" ng-if="orginfo.sharetype==0">只读</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(orginfo,1)" ng-if="orginfo.sharetype==1">读写</div></li>

                <!--角色-->
                <li ng-repeat="roleinfo in rolelist"><div class="knowledgewjsxkkqxsz_check"></div><div class="knowledgewjsxkkqxszcyhq"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-jiaose"></use></svg>{{roleinfo.roles_Name}}</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(roleinfo,2)" ng-if="roleinfo.sharetype==0">只读</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(roleinfo,2)" ng-if="roleinfo.sharetype==1">读写</div>
                </li>
                
                <!--用户组-->
                <li ng-repeat="groupinfo in grouplist"><div class="knowledgewjsxkkqxsz_check"></div><div class="knowledgewjsxkkqxszcyhq"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-louyutubiaoyonghuzu"></use></svg>{{groupinfo.userGroup_Name}}</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(groupinfo,3)" ng-if="groupinfo.sharetype==0">只读</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(groupinfo,3)" ng-if="groupinfo.sharetype==1">读写</div>
                </li>

                <!--用户-->                
                <li ng-repeat="userinfo in userlist"><div class="knowledgewjsxkkqxsz_check"></div><div class="knowledgewjsxkkqxszcyhq"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-jiaose"></use></svg>{{userinfo.user_Name}}</div>
                
            <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(userinfo,4)" ng-if="userinfo.sharetype==0">只读</div>
                <div class="knowledgewjsxkkqxszcqx" ng-click="upfileright(userinfo,4)" ng-if="userinfo.sharetype==1">读写</div>
                </li>

			</ul></div>
			<div class="knowledgewjsxkkqxszcaozuo">
				<div class="btn-group" role="group" aria-label="...">
				  <button type="button" ng-click="openfind()" class="btn btn-default"><i class="iconfont">&#xe616;</i></button> <span ng-click="openfind()" class="knowledgewjsxkkqxsztianjiamiaoshu">添加权限</span>
                  <!--
				  <button type="button" class="btn btn-default"><i class="iconfont">&#xe61b;</i></button>
                  -->
				</div>
				<div class="knowledgewjsxkkckfwrz" ng-click="showlog()" ng-if="false" >查看访问日志</div>
			</div>
		</div>
		
        		<selectormodal ng-if="ApiData.ApiOpen" apidata="ApiData"></selectormodal>


	</div>
	<div class="knowledgewjsxkkfooter" ng-class="{'knowledgewjsxkkfooter_wenjianjia': fileifno.fileType=='folder' }">
		<div ng-click="playf()" ng-disabled="{{fileifno.fileType=='folder'}}"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-xiazai"></use></svg>下载</div>
        <div  ng-click="zhuanfaflag = !zhuanfaflag" ng-if="false"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-zhuanfa1"></use></svg>转发</div>
		<div ng-click="showhistory()" ng-if="fileifno.fileType !='folder'"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijianaini"></use></svg>历史</div>        
		<div ng-click="copyfile()"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-fuzhi2"></use></svg>复制到</div>
		<div ng-click="movefile()"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>移动到</div>
		<div ng-click="delkn()"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>删除</div>
		<div ng-click="filepreview()"  ng-if="fileifno.fileType!='folder' && false"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-yulan2"></use></svg>预览</div>
		<div class="knowledgewjsxkkfooter_zhuanfa" style="margin-top: -295px;" ng-if="zhuanfaflag">
			<div class="caret"></div>
			<div class="knowledgewjsxkkfooter_zhuanfa_sz">
				<div class="knowledgewjsxkkfooter_zhuanfa_fjrname"><label>发件人：</label><input type="" placeholder="用于消息注脚显示署名" name=""></div>
				<div class="knowledgewjsxkkfooter_zhuanfa_lxfs"><label>联系方式：</label><input type="" placeholder="用于消息注脚显示署名" name=""></div>
				<div class="knowledgewjsxkkfooter_zhuanfa_yxxz"><label>允许下载：</label><input type="checkbox" name=""><span>允许</span></div>
				<div class="knowledgewjsxkkfooter_zhuanfa_szshouqi"><i class="iconfont">&#xe67a;</i></div>

			</div>
			<div class="knowledgewjsxkkfooter_zhuanfa_zf">
			<div class="knowledgewjsxkkfooter_zhuanfa_name"><label>转发人：</label><input type="" placeholder="转发人名称,用于统计观看分享次数" name=""></div>
			<div class="knowledgewjsxkkfooter_zhuanfa_fangshi">
				<div><i class="iconfont" style="color:#ff6666">&#xe624;</i>发送至邮箱</div>
				<div><i class="iconfont" style="color: #3399ff">&#xe607;</i>发送至QQ</div>
				<div><i class="iconfont" style="color: #339966">&#xe64f;</i>发送至微信</div>
				<div><i class="iconfont" style="color: #666">&#xe65e;</i>发送短信(剩余200条)</div>
				<div style="color: #3399ff">购买</div>
			</div>
			<div class="knowledgewjsxkkfooter_zhuanfa_fxlj">
				<label>分享链接：</label><input type="" name="" placeholder="http://baidu.com"><span>复制</span>
			</div>
			<div class="knowledgewjsxkkfooter_zhuanfa_shezhi">
				<div><div class="close"><span>+</span></div></div>
				<div><i class="iconfont">&#xe615;</i></div>
			</div>
			</div>
		</div>
	</div>
	</div>
    
    <selectfilemodal jisu-model="ParentData_file" on-say="filesay()"></selectfilemodal>

</div>
<div class="knowledgewjsxkkryfwrz" ng-if="isshowlog">
	<div class="knowledgewjsxkkryfwrzmain">
	<div class="knowledgewjsxkkryfwrztitle">文件访问日志<div class="close"  ng-click="closelog()"><span>+</span></div></div>
	<div class="knowledgewjsxkkryfwrzbody">
		<div class="knowledgewjsxkkryfwrzbodytitle">
			<div class="knowledgewjsxkkryfwrzday active">今天</div>
			<div class="knowledgewjsxkkryfwrzYesterday">昨天</div>
			<div class="knowledgewjsxkkryfwrznsd">近七天</div>
			<div class="knowledgewjsxkkryfwrzdcsh">导出数据</div>
		</div>
		<ul class="knowledgewjsxkkryfwrzbodymain">
			<li class="knowledgewjsxkkryfwrzxqli">
				<div class="knowledgewjsxkkryfwrzxqgkname">观看人</div>
				<div class="knowledgewjsxkkryfwrzxqzffs">转发方式</div>
				<div class="knowledgewjsxkkryfwrzxqgkcs">观看次数</div>
				<div class="knowledgewjsxkkryfwrzxqgktime">累计观看时间</div>
			</li>
			<li class="knowledgewjsxkkryfwrzxqli">
				<div class="knowledgewjsxkkryfwrzxqgkname">西蒙科技</div>
				<div class="knowledgewjsxkkryfwrzxqzffs">邮箱</div>
				<div class="knowledgewjsxkkryfwrzxqgkcs">2</div>
				<div class="knowledgewjsxkkryfwrzxqgktime">00：30</div>
			</li>
			<li class="knowledgewjsxkkryfwrzxqli">
				<div class="knowledgewjsxkkryfwrzxqgkname">周小姐</div>
				<div class="knowledgewjsxkkryfwrzxqzffs">站内信</div>
				<div class="knowledgewjsxkkryfwrzxqgkcs">1</div>
				<div class="knowledgewjsxkkryfwrzxqgktime">00:40</div>
			</li>
		</ul>
	</div>
</div>
</div>
<div class="knowledgewjsxkkwjlsbb" ng-if="isshowhistory">
	<div class="knowledgewjsxkkwjlsbbmain">
    <div class="knowledgewjsxkkwjlsbbtitle"><div class="knowledgewjsxkktitleright"><div class="knowledgewjsxkktitlerightgengxin"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-gengxin1"></use></svg>更新<input type="file" class="tool_file" nv-file-select="" uploader="fileuploader"    accept=".xls,.xlsx,.ppt,.pptx,.pdf,.doc,.docx,.jpg,.png,.jpge,.gif,.mp3,.wav,.mp4,.flv" />
                        </div><div ng-click="saveversion()"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-baocun"></use></svg>保存</div></div>文件历史版本<div class="close" ng-click="closehistory()"><span>+</span></div></div>	
	<div class="knowledgewjsxkkwjlsbbbody">
		<ul class="knowledgewjsxkkwjlsbbbodymain">
			<li class="knowledgewjsxkkwjlsbbxqscli">
				<div class="knowledgewjsxkkwjlsbbxqscbbh">版本号</div>
				<div class="knowledgewjsxkkwjlsbbxqscljwjmc">历史文件名称</div>
				<div class="knowledgewjsxkkwjlsbbxqscname">上传人</div>
				<div class="knowledgewjsxkkwjlsbbxqscwjdx">文件大小</div>
				<div class="knowledgewjsxkkwjlsbbxqsctime">文件上传时间</div>
				<div class="knowledgewjsxkkwjlsbbxqcaozuo">文件操作</div>
				
			</li>                        
            
<li class="knowledgewjsxkkwjlsbbxqscli" ng-repeat="biem in historylist">
				<div class="knowledgewjsxkkwjlsbbxqscbbh">
					<div  ng-click="showvid(biem.id)">
                        <div ng-if="biem.Edition == vid">主版本</div>
                        <div ng-bind="'V'+biem.Edition" ng-if="biem.Edition != vid">主版本</div>
                    <span class="caret"></span></div>
					<ul class="dropdown-menu" ng-if="biem.id == showid">
						<li ng-click="setvid(biem,0)">主版本</li>
						<li ng-click="setvid(biem,-1)" ng-bind="'V'+biem.Edition">V1.1</li>						
					</ul>
				</div>
				<div class="knowledgewjsxkkwjlsbbxqscljwjmc" ng-bind="biem.Name">历史文件名称</div>
				<div class="knowledgewjsxkkwjlsbbxqscname" ng-bind="biem.Upuser">
					上传人
				</div>
				<div class="knowledgewjsxkkwjlsbbxqscwjdx" ng-bind="biem.Size | to_size">文件大小</div>
				<div class="knowledgewjsxkkwjlsbbxqsctime">
                    <div ng-bind="biem.UploadDate | to_time"></div>
                    <div  ng-bind="biem.UploadDate | to_date"></div>
                </div>
				<div class="knowledgewjsxkkwjlsbbxqcaozuo">
					<a href="javascript:" ng-click="play(biem)"><i class="iconfont">&#xe6b3;</i>下载</a>
					<a href="javascript:" ng-click="delhistory(biem)"><i class="iconfont">&#xe606;</i>删除</a>
				</div>				
			</li>
			<li class="knowledgewjsxkkwjlsbbxqscli" ng-if="false">
				<div class="knowledgewjsxkkwjlsbbxqscbbh">
					<div><span>主版本</span><span class="caret"></span></div>
					<ul class="dropdown-menu">
						<li>主版本</li>
						<li>V1.1</li>
						<li>V1.1</li>
					</ul>
				</div>
				<div class="knowledgewjsxkkwjlsbbxqscljwjmc">历史文件名称</div>
				<div class="knowledgewjsxkkwjlsbbxqscname">
					上传人
				</div>
				<div class="knowledgewjsxkkwjlsbbxqscwjdx">文件大小</div>
				<div class="knowledgewjsxkkwjlsbbxqsctime">文件上传时间</div>
				<div class="knowledgewjsxkkwjlsbbxqcaozuo">
					<a href=""><i class="iconfont"></i>下载</a>
					<a href=""><i class="iconfont"></i>删除</a>
				</div>
				
			</li>						
		</ul>
		</div>
	
</div>
</div>
</div>

<!--文件预览-->
    <filepre isdata="isshowfile"></filepre>

</v-modal>
